package com.manager.common.quartz.impl;

import com.manager.common.quartz.JobEntity;
import org.quartz.Job;

import java.util.concurrent.TimeUnit;

public class CornJonEntity extends JobEntity {

    private String corn;

    public CornJonEntity() {

    }

    public CornJonEntity(String jobName, String aliasName,  Class<? extends Job> jobClass,
                             Object jobParams,String corn) {

        this.jobName = jobName;
        this.aliasName = aliasName;
        this.jobClass = jobClass;
        this.jobParams = jobParams;
        this.corn = corn;
    }

    public String getCorn() {
        return corn;
    }

    public void setCorn(String corn) {
        this.corn = corn;
    }
}

